package com.eco.dao.ds3;

import com.eco.entity.ChartDTO;
import com.eco.entity.FishType;
import com.eco.entity.Record;
import com.eco.entity.RecordDTO;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface RecordMapper {
    int addByRecord(Record paramRecord);

    int updateByRecord(RecordDTO paramRecordDTO);

    List<RecordDTO> findByRecordDate(@Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("stationName") String paramString3);

    List<RecordDTO> findByRecordDateTime(@Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("stationName") String paramString3);

    int countByRecordDate(@Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("stationName") String paramString3);

    int deleteByRecordId(@Param("recordId") Integer paramInteger);

    void deleteByRecordIds(@Param("ids") int[] paramArrayOfint);

    List<ChartDTO> getFishCountByEveryday(@Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("stationName") String paramString3);

    int getFishTotal(@Param("stationName") String paramString);

    int getFishTotalByDirection(@Param("stationName") String paramString, @Param("direction") Integer paramInteger);

    List<FishType> getFishName(@Param("stationName") String paramString);
}
